package Main;
import FileProcess.TextRead;

public class Main_query 
{
	public static void main(String[] args) 
	{
		if(args.length != 4)
		{
			System.out.println("Error, you should input four argument - " +
					"<file path of text.json> <file path of product.json>\n <dir path of storing each article>" +
					"<dir path of building index>");
		}
		else
		{
			//do searching and get result
			new TextRead(args[3]).ACT001_readAndQuery(args[0]);
		}
	}
}
